package cn.aitrox.ry.service.anno.dao;

import cn.aitrox.ry.common.dao.BaseDao;
import cn.aitrox.ry.service.anno.entity.TaskCompanyEntity;

import java.util.List;

public interface TaskCompanyDao extends BaseDao<TaskCompanyEntity> {
    List<TaskCompanyEntity> findByTaskIds(List<Integer> taskIdList);

    List<TaskCompanyEntity> findByTaskId(Integer taskId);

    void batchSave(List<TaskCompanyEntity> list);

    void deleteByTaskId(Integer taskId);
}
